package org.lanyu.springainovel.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;

@Data
@TableName("prompt_template")
public class MyPromptTemplate {
    @TableId(type = IdType.AUTO)
    @Schema(description = "模板ID")
    private Long id;
    @Schema(description = "模板名称")
    private String name;
    @Schema(description = "模板内容")
    private String content;
    @Schema(description = "标签")
    private String tags;
    @Schema(description = "分类")
    private String category;
    @Schema(description = "状")
    private Boolean status;
    @Schema(description = "使用次数")
    private Integer usageCount;
    @Schema(name = "description")
    private String description;
    @Schema(name = "update_time")
    private LocalDateTime updateTime;
}
